<%@ page
	language="java"
	contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	int i = Integer.parseInt(request.getParameter("code"));
%>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link
	rel="stylesheet"
	type="text/css"
	href="./_css/product.css" />
<script src="/d2/_js/content.js"></script>
</head>
<body>
	<div id="layout_header"><jsp:include
			page="./header.jsp"
			flush="true" />
	</div>
	<div id="product">
		<div id="images">
			<div id="temp">temp</div>
			<ul
				class="thumbnail"
				id="thumbnail<%=i%>">
				<li class="img01"><img src="./files/<%=i % 2%>.jpg" /></li>
				<li class="img02"><img src="./files/<%=i % 2%>d.jpg" /></li>
			</ul>
			<span onclick="switchImg(<%=i%>)"> ◁ </span> <span> ▷ </span>
		</div>
		<div id="info">
			<div id="name"><%="name" + i%>
			</div>
			<div id="comment">comment...</div>
			<div id="price">￦ 10,000</div>
			<div id="buttons">
				<input
					type="button"
					value="Buy" /><input
					type="button"
					value="Cart" /><input
					type="button"
					value="Corcern" />
			</div>
		</div>
	</div>
</body>
</html>